package com.gc.server.entity;


import lombok.Setter;
import lombok.Getter;
import java.io.Serializable;
import java.util.Date;

import java.math.BigDecimal;

/**
 * 晒单明细实体
 * 表名 img_order_item
 *
 * @author hxf
 * @email 505860922@qq.com
 * @date Wed Nov 24 16:06:21 CST 2021
 */
@Setter
@Getter
public class ImgOrderItemEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    //
    private Long id;
        //订单ID
    private Long orderId;
        //产品ID
    private Long goodsId;
        //产品积分
    private BigDecimal goodsPoint;
        //产品兑费
    private BigDecimal goodsMoney;
        //产品名
    private String goodsName;
        //产品数量
    private Integer quantity;
    
    public ImgOrderItemEntity(){

    }

    public ImgOrderItemEntity(Long orderId, Long goodsId, BigDecimal goodsPoint, BigDecimal goodsMoney, String goodsName, Integer quantity) {
        this.orderId = orderId;
        this.goodsId = goodsId;
        this.goodsPoint = goodsPoint;
        this.goodsMoney = goodsMoney;
        this.goodsName = goodsName;
        this.quantity = quantity;
    }
}
